a1d014d2ecd7ec07c2cee8d4c3a46fe43ef82c6e,osgi/integration/http/src/main/java/org/jboss/as/osgi/httpservice/HttpServiceImpl.java,HttpServiceImpl,registerResources,#String#String#HttpContext#,102

Before Change


    @Override
    public void registerResources(String alias, String name, HttpContext httpContext) throws NamespaceException {

        synchronized (registry) {
            String error = validateAlias(alias, false);
            if (error == null)
                error = validateName(name);
            if (error != null)
                throw new NamespaceException(error);

After Change



    @Override
    public void registerResources(String alias, String name, HttpContext httpContext) throws NamespaceException {
        validateAlias(alias, false);
        validateName(name);

        if (httpContext == null)